 <%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>Insert title here</title>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/common.js"></script>
<%@ include file="/commons/commonList.jsp"%>
<script type="text/javascript">
	var currentID = null;
	function edit(){
		if(currentID == null || currentID ==""){
			Alert("请选择要修改的记录");
			return;
		}
		parent.openAppEdit(currentID);
	}

	function openDelete(){
		if(currentID == null || currentID ==""){
			Alert("请选择要删除的记录");
			return;
		}
		AskConfirm("您确认删除此条记录吗?","main","openAppDelte");
	}

	function init(){
		parent.marker = 1;
	}
</script>
</head>
<body onload="init();">
<div style="overflow:auto; height:290px;">

  <ec:ceTable items="approvalItems"
	action="${ctx}/system_auditingItemAction.do?method=initList"
	var="approvalItem"
	view="pmsview"
	styleClass="gridData2"
	rowsDisplayed="10" >
	<ec:ceRow styleClass="grid"
		onclick="currentID=${approvalItem.keyword}"
		onContextMenu="return ShowContextMenu(event,'quick_rightmenu');">
		<ec:ceColumn headerCell="pmsHeadrCell" title="序号" property="##" sortable="false" width="2%"  cell="rowCount"/>
		<ec:ceColumn headerCell="pmsHeadrCell" title="装修申请审核项目" property="itemName" sortable="false" width="7%"/>
		<ec:ceColumn headerCell="pmsHeadrCell" title="用 户" property="employeName" sortable="false" width="6%" />
	</ec:ceRow>
</ec:ceTable>
</div>
  <!--------------menu01------------------------->
<div id="quick_rightmenu" style="display:none;" oncontextmenu="return false" class="quick_rightmenu">
  <table width="100%" border="0" cellpadding="1" cellspacing="0" class="grid_quickMenu_bg">
    <tr>
      <td>
      	<table width="100%" border="0" cellpadding="2" cellspacing="0">
          <tr>
          	<td class="quickMenu_toolbarico">
          		<a href="#"  onClick="parent.openAppAdd();" onFocus="this.blur()">
          			<img src="${ctx}/images/ico_newfile.gif" alt="" width="16" height="16" border="0" align="absbottom" />
          			&nbsp;新 建
          		</a>
          	</td>
          </tr>

		  <tr>
		  	<td class="quickMenu_toolbarico">
		  		<a href="#"   onClick="edit();" onFocus="this.blur()">
		  			<img src="${ctx}/images/ico_amend.gif" alt="" width="16" height="16" border="0" align="absbottom" />
		  				&nbsp;修 改
		  		</a>
		  	</td>
		  </tr>
        <tr>
          <td class="quickMenu_toolbarico">
          	<a href="#" onClick="openDelete();" onFocus="this.blur()">
          		<img src="${ctx}/images/ico_delete.gif" alt="" width="16" height="16" border="0" align="absbottom" />
          			&nbsp;删 除
          	</a>
          </td>
        </tr>
      </table>
     </td>
    </tr>
  </table>
</div>
</body>
</html>